home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Oh!X 2001 Spring
/
Oh!X 2001 Spring Special CD-ROM (Japan).7z
/
Oh!X 2001 Spring Special CD-ROM (Japan) (Track 1).bin
/
VC
/
layered3
/
LayeredWnd.h
< prev
next >
Wrap
C/C++ Source or Header
|
2000-08-10
|
1KB
|
44 lines
// LayeredWnd.h: LayeredWnd クラスのインターフェイス
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_LAYEREDWND_H__F9EB8D6D_67C1_11D4_9897_00C00CB069F5__INCLUDED_)
#define AFX_LAYEREDWND_H__F9EB8D6D_67C1_11D4_9897_00C00CB069F5__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "resource.h"
BOOL InitInstance( HINSTANCE hInstance );
void ExitInstance();
LONG APIENTRY MainWndProc( HWND hWnd, UINT message, UINT wParam, LONG lParam );
class LayeredWnd
{
public:
LayeredWnd( HINSTANCE hInstance );
virtual ~LayeredWnd();
HWND Create();
LRESULT WndProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam );
HBITMAP CreateAlphaContainedBitmap( HBITMAP hBitmap, HBITMAP hAlpha );
int Animate( HWND hWnd, int frm );
HINSTANCE m_hInstance;
HWND m_hWnd;
HDC m_hDC;
HBITMAP m_hBitmap;
int m_nWidth, m_nHeight;
HMENU m_hMenu;
int m_nFrame;
// メッセージ関数群
void OnCreate( HWND hWnd );
void OnDestroy( HWND hWnd );
int OnNcHitTest( int xPos, int yPos );
void OnNcRButtonDown( int nHittest, POINTS pts );
};
#endif // !defined(AFX_LAYEREDWND_H__F9EB8D6D_67C1_11D4_9897_00C00CB069F5__INCLUDED_)